Allocation flags have been removed from Clutter, and commit
400d045a6aa1b4703a3fdd5cf5c7e9b54aa60afd accidentally added their
arguments again which causes a warning, so remove those arguments.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1276
return [minHeight, natHeight];
}
- vfunc_allocate(container, box, flags) {
+ vfunc_allocate(container, box) {
const width = box.get_width();
const childBox = new Clutter.ActorBox();
if (childBox.x1 + childWidth > width)
return;
- child.allocate(childBox, flags);
+ child.allocate(childBox);
childBox.x1 += childWidth;
}